package com.aduerr.v1shouyin.entity;

import com.litesuits.orm.db.annotation.PrimaryKey;
import com.litesuits.orm.db.annotation.Table;
import com.litesuits.orm.db.enums.AssignType;

/**
 * @author HI
 * @email dev1024@foxmail.com
 * @time 2019/1/21 14:13
 * @change
 * @chang time
 * @class describe
 */

@Table("order_table")
public class OrderRecordEntity {

    @PrimaryKey(AssignType.AUTO_INCREMENT)
    private int id;
    private int type;//1:支付宝 2：微信 3：会员充值 4：会员消费 5：银联刷卡
    // 6：预授权 7：预授权撤销 8：预授权完成 9：预授权完成撤销, 10:支付宝退款，
    // 11：微信退款， 12：银联退款， 13：现金收款
    // 14：扫码预售权冻资中，15：扫码预授权完成，16：扫码预授权撤销，17：扫码预授权完成撤销
    private String rechargeType;//会员充值支付方式

    /* 微信支付宝 */
    private String orderId;
    private String merchantName;//商户名称
    private String orderState;//交易状态
    private String orderMoney;//订单金额
    private String payTime;//交易时间
    private String shopName;//门店名称
    private String cashier;//收银员
    private String customer;//消费者
    private String remarks;//备注
    private String refundRemarks;//退款备注
    private String refundMoney;//退款金额
    private String refundTime;//退款时间

    /* 会员 */
    private String sendMoney;//赠送金额
    private String balance;//余额
    private String phone;//手机号
    private String discount;//折扣
    private String integral;//积分

    /* 刷卡 */
    private String termId;//终端编号
    private String bankAccount;//银行卡号
    private String bankCode;//收单行
    private String bankName;//发卡行
    private String expDate;//有效期
    private String batchNo;//批次号
    private String sysTraceNo;//凭证号
    private String referNo;//参考号
    private String authcode;//授权码

    /* 扫码预授权 */
    private double mConsumeMoney;
    private String mConsumeRemark;
    private String mConsumeTime;
    private String mCreateTime;
    private double mDepositMoney;
    private double mGoodsMoney;
    private String mOrderID;
    private int mOrderState;
    private String mPayTime;
    private int mPayType;
    private String mRefundRemark;
    private String mRefundTime;
    private int mRefundUserID;
    private String mRefundUserName;
    private int mShopID;
    private String mShopName;
    private int mSiteUserID;
    private String mSiteUserName;
    private String mTransactionID;
    private String mConsumeUserName;
    private String mCreateRemark;


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getOrderState() {
        return orderState;
    }

    public void setOrderState(String orderState) {
        this.orderState = orderState;
    }

    public String getOrderMoney() {
        return orderMoney;
    }

    public void setOrderMoney(String orderMoney) {
        this.orderMoney = orderMoney;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getCashier() {
        return cashier;
    }

    public void setCashier(String cashier) {
        this.cashier = cashier;
    }

    public String getCustomer() {
        return customer;
    }

    public void setCustomer(String customer) {
        this.customer = customer;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getSendMoney() {
        return sendMoney;
    }

    public void setSendMoney(String sendMoney) {
        this.sendMoney = sendMoney;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getIntegral() {
        return integral;
    }

    public void setIntegral(String integral) {
        this.integral = integral;
    }

    public String getTermId() {
        return termId;
    }

    public void setTermId(String termId) {
        this.termId = termId;
    }

    public String getBankAccount() {
        return bankAccount;
    }

    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount;
    }

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getBankName() {
        return bankName;
    }

    public void setBankName(String bankName) {
        this.bankName = bankName;
    }

    public String getExpDate() {
        return expDate;
    }

    public void setExpDate(String expDate) {
        this.expDate = expDate;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getSysTraceNo() {
        return sysTraceNo;
    }

    public void setSysTraceNo(String sysTraceNo) {
        this.sysTraceNo = sysTraceNo;
    }

    public String getReferNo() {
        return referNo;
    }

    public void setReferNo(String referNo) {
        this.referNo = referNo;
    }

    public String getAuthcode() {
        return authcode;
    }

    public void setAuthcode(String authcode) {
        this.authcode = authcode;
    }

    public String getRechargeType() {
        return rechargeType;
    }

    public void setRechargeType(String rechargeType) {
        this.rechargeType = rechargeType;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getRefundMoney() {
        return refundMoney;
    }

    public void setRefundMoney(String refundMoney) {
        this.refundMoney = refundMoney;
    }

    public String getRefundTime() {
        return refundTime;
    }

    public void setRefundTime(String refundTime) {
        this.refundTime = refundTime;
    }

    public double getmConsumeMoney() {
        return mConsumeMoney;
    }

    public void setmConsumeMoney(double mConsumeMoney) {
        this.mConsumeMoney = mConsumeMoney;
    }

    public String getmConsumeRemark() {
        return mConsumeRemark;
    }

    public void setmConsumeRemark(String mConsumeRemark) {
        this.mConsumeRemark = mConsumeRemark;
    }

    public String getmConsumeTime() {
        return mConsumeTime;
    }

    public void setmConsumeTime(String mConsumeTime) {
        this.mConsumeTime = mConsumeTime;
    }

    public String getmCreateTime() {
        return mCreateTime;
    }

    public void setmCreateTime(String mCreateTime) {
        this.mCreateTime = mCreateTime;
    }

    public double getmDepositMoney() {
        return mDepositMoney;
    }

    public void setmDepositMoney(double mDepositMoney) {
        this.mDepositMoney = mDepositMoney;
    }

    public double getmGoodsMoney() {
        return mGoodsMoney;
    }

    public void setmGoodsMoney(double mGoodsMoney) {
        this.mGoodsMoney = mGoodsMoney;
    }

    public String getmOrderID() {
        return mOrderID;
    }

    public void setmOrderID(String mOrderID) {
        this.mOrderID = mOrderID;
    }

    public int getmOrderState() {
        return mOrderState;
    }

    public void setmOrderState(int mOrderState) {
        this.mOrderState = mOrderState;
    }

    public String getmPayTime() {
        return mPayTime;
    }

    public void setmPayTime(String mPayTime) {
        this.mPayTime = mPayTime;
    }

    public int getmPayType() {
        return mPayType;
    }

    public void setmPayType(int mPayType) {
        this.mPayType = mPayType;
    }

    public String getmRefundRemark() {
        return mRefundRemark;
    }

    public void setmRefundRemark(String mRefundRemark) {
        this.mRefundRemark = mRefundRemark;
    }

    public String getmRefundTime() {
        return mRefundTime;
    }

    public void setmRefundTime(String mRefundTime) {
        this.mRefundTime = mRefundTime;
    }

    public int getmRefundUserID() {
        return mRefundUserID;
    }

    public void setmRefundUserID(int mRefundUserID) {
        this.mRefundUserID = mRefundUserID;
    }

    public String getmRefundUserName() {
        return mRefundUserName;
    }

    public void setmRefundUserName(String mRefundUserName) {
        this.mRefundUserName = mRefundUserName;
    }

    public int getmShopID() {
        return mShopID;
    }

    public void setmShopID(int mShopID) {
        this.mShopID = mShopID;
    }

    public String getmShopName() {
        return mShopName;
    }

    public void setmShopName(String mShopName) {
        this.mShopName = mShopName;
    }

    public int getmSiteUserID() {
        return mSiteUserID;
    }

    public void setmSiteUserID(int mSiteUserID) {
        this.mSiteUserID = mSiteUserID;
    }

    public String getmSiteUserName() {
        return mSiteUserName;
    }

    public void setmSiteUserName(String mSiteUserName) {
        this.mSiteUserName = mSiteUserName;
    }

    public String getmTransactionID() {
        return mTransactionID;
    }

    public void setmTransactionID(String mTransactionID) {
        this.mTransactionID = mTransactionID;
    }

    public String getmConsumeUserName() {
        return mConsumeUserName;
    }

    public void setmConsumeUserName(String mConsumeUserName) {
        this.mConsumeUserName = mConsumeUserName;
    }

    public String getmCreateRemark() {
        return mCreateRemark;
    }

    public void setmCreateRemark(String mCreateRemark) {
        this.mCreateRemark = mCreateRemark;
    }

    public String getRefundRemarks() {
        return refundRemarks;
    }

    public void setRefundRemarks(String refundRemarks) {
        this.refundRemarks = refundRemarks;
    }
}
